projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47dcf72
)
Fix XI 2.0 build
author
Po Lu
<luangruo@yahoo.com>
Wed, 16 Mar 2022 07:51:02 +0000
(15:51 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 16 Mar 2022 07:51:02 +0000
(15:51 +0800)
* src/xterm.c (handle_one_xevent): Move declaration of dummy out
of HAVE_XINPUT2_1.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index a3d20a9d226cd831083fe4b01bee0f9ef09e22fb..d01d3e7cce3bac2effd36888e671da96f3b69ba9 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-12593,6
+12593,8
@@
handle_one_xevent (struct x_display_info *dpyinfo,
goto XI_OTHER;
#endif
+ Window dummy;
+
#ifdef HAVE_XINPUT2_1
#ifdef HAVE_XWIDGETS
struct xwidget_view *xv = xwidget_view_from_window (xev->event);
@@
-12603,7
+12605,6
@@
handle_one_xevent (struct x_display_info *dpyinfo,
double total_y = 0.0;
int real_x, real_y;
- Window dummy;
for (int i = 0; i < states->mask_len * 8; i++)
{